package com.cww.study.base;

/**
 * @program: myes
 * @description: 统一处理异常枚举类
 * @author: 陈英俊
 * @create: 2021-09-09 17:37
 */
public enum ErrorMsg {
    ERR("400", "异常");

    private String code;
    private String name;

    ErrorMsg(String code, String name) {
        this.code = code;
        this.name = name;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
